@import "common.scss";
@mixin icon-load-up {
    // 加载图标
    .icon-load {
        position: absolute;
        bottom: 120px;
        left: 50%;
        transform: translateX(-50%);
        width: 90px;
        height: 60px;
        text-align: center;
        .iconLoad {
            font-size: 50px;
            color: #ccc;
        }
        .loading {
            color: #ccc;
            font-size: 26px;
            margin-top: 30px;
        }
    }
    // 向上图标
    .icon-up {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 30px;
        background: red;
        text-align: center;
        .iconUp {
            font-size: 30px;
            color: #fff;
        }
    }
}

// 红色背景，白色字体
@mixin redInfo {
    width: 100px;
    height: 35px;
    background-color: #cf0d0d;
    color: #fff;
    margin-right: 20px;
    padding: 5px 10px;
}

#active {
    color: #cf0d0d;
}

.bannerBox {
    position: relative;
    width: 100%;
    height: 587px;
    background: url(../images/ShowImg/bj_show.png) no-repeat center bottom / 100%;
}

// 灰色区域
.greyCont {
    padding: 0 50px 250px;
    position: relative;
    margin: 0 auto;
    width: 1200px;
    // padding: 0 0 180px;
    // height: 1200px;
    background-color: #f3f3f3;
    @mixin boxShadow {
        box-shadow: 0 5px 10px 0 #ccc;
    }
    @mixin follow {
        position: absolute;
        width: 50px;
        height: 25px;
        line-height: 25px;
        border: 1px solid #000;
        text-align: center;
        font-size: 14px;
    }
    // banner 绿色
    .inviteShowBox {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 330px;
        padding: 90px 0 125px;
        .imgBox {
            width: 680px;
        }
        .banner-info {
            width: 410px;
            p {
                font-size: 20px;
                color: #888;
                .redInfo {
                    @include redInfo;
                }
            }
            p:first-child {
                font-size: 22px;
                color: #888;
                margin-bottom: 60px;
            }
            p:nth-child(3) {
                margin: 60px 0;
            }
        }
    }
    // 导航栏
    nav {
        width: 100%;
        height: 100px;
        line-height: 100px;
        border-top: 1px solid #888;
        border-bottom: 1px solid #888;
        ul {
            margin: 0 auto;
            width: 80%;
            height: 100%;
            display: flex;
            li {
                flex: 1;
                font-size: 22px;
                color: #979797;
                &:hover {
                    cursor: pointer;
                    color: #cf0d0d;
                }
            }
        }
    }
    // 展览 items
    .showItems {
        margin-top: 90px;
        width: 100%;
        .item-row {
            width: 100%;
            height: 540px;
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
            .show-item {
                width: 580px;
                height: 530px;
                background-color: #fff;
                border: 1px solid #ccc;
                transition: all .5s;
                .item-info {
                    position: relative;
                    padding: 30px 20px;
                    p {
                        font-size: 18px;
                        color: #888;
                        margin-bottom: 40px;
                        .redInfo {
                            @include redInfo;
                        }
                    }
                    p:nth-of-type(1) {
                        font-size: 24px;
                        color: #333;
                        margin-bottom: 40px;
                    }
                    .collect {
                        position: absolute;
                        top: 30px;
                        right: 30px;
                        color: #888;
                        font-size: 20px;
                        .iconCol {
                            font-size: 26px;
                            color: #cf0d0d;
                        }
                    }
                }
            }
            .show-item:hover {
                cursor: pointer;
                transform: scale(1.05)
            }
        }
    }
    // 向上加载图标加载
    @include icon-load-up;
}